added sticky elements support