Hide ResourcePanel on resize and post statement set