added UI helpers for pagination effect