Manages pull-down to never be bigger than the screen
Merge pull request #1044 from geoadmin/fix_874

Manages pull-down to never be bigger than the screen