player: move maximize and minimize functions to where they belong

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>