Hello !!I want help on this !! Can anyone tell me code that will make a compact view button while installation like this :

(see below in let corner) and after clicking that button installer go in Right corner and become small like this :
Thnx in advance for helping me!!