Added margin support to headerfooterlayout
Fixed issues with pull to refresh not hiding in all scenarios after releasing mouse/touch