Custom table view to set correct frame size