Allowing the table head to expand and hide when user scrolls or pull down the table view