slight modifications for TOP/BOTTOM views.