Add git ignore
Change the default value of maxHeightBorder so it triggers less easilyy the fullscreen mode.
Change the animation options so the fullscreen mode is animated more smoothly
Add self.initialMaxHeightBorder and initialMinHeightBorder to be sure the behaviour is kept even after a change of state (after coming back from fullscreen mode for example).
Minor: fix warnings in the sample code