Set up the frames for small and normal layouts