adding scroll and resize functionality to admin layout