Made the minimize function work
Made the minimize bar that was shown in left bottom corner dissapear