use pixel instead of percentages to support an offset