Moved MinimizeButton to separate file

Signed-off-by: Marius Avram <marius.avram1309@gmail.com>